package com.tydic.enterprise.service;

import com.tydic.enterprise.domain.Enterprise;

public interface IEnterpriseService {
    Enterprise getEnterByUserCode(String userCode);

    Enterprise getEnterById(String id);

    Enterprise getEntityByLoginUser();

    void saveEnterpriseInfo(Enterprise enterprise);

    void approveEnterprise(Enterprise enterprise, String comment, boolean pass);

    Enterprise getEnterpriseByUserCode(String userCode);

    Enterprise getByEnterpriseCode(String enterpriseCode);

    void update(Enterprise enterprise);
}
